<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt; Class Template Reference</title>
<script type="text/javaScript" src="search/search.js"></script>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.0.1/es5/tex-mml-chtml.js"></script>
<script src="../../mlstyle.js"></script>
<link href="../css/besser.css" rel="stylesheet" type="text/css"/>
</head>
<!-- pretty cool: each body gets an id tag which is the basename of the web page  -->
<!--              and allows for page-specific CSS. this is client-side scripted, -->
<!--              so the id will not yet show up in the served source code -->
<script type="text/javascript">
    jQuery(document).ready(function () {
        var url = jQuery(location).attr('href');
        var pname = url.substr(url.lastIndexOf("/")+1, url.lastIndexOf(".")-url.lastIndexOf("/")-1);
        jQuery('#this_url').html('<strong>' + pname + '</strong>');
        jQuery('body').attr('id', pname);
    });
</script>
<body>
    <div id="shark_old">
        <div id="wrap">
            <div id="header">
                <div id="site-name"><a href="../../sphinx_pages/build/html/index.html">Shark machine learning library</a></div>
                <ul id="nav">
                    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/installation.html">Installation</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/tutorials/tutorials.html">Tutorials</a>
                    </li>
		    <li >
                        <a href="../../sphinx_pages/build/html/rest_sources/benchmark.html">Benchmarks</a>
                    </li>
                    <li class="active">
                        <a href="classes.html">Documentation</a>
                        <ul>
                            <li class="first"></li>
                            <li><a href="../../sphinx_pages/build/html/rest_sources/quickref/quickref.html">Quick references</a></li>
                            <li><a href="classes.html">Class list</a></li>
                            <li class="last"><a href="group__shark__globals.html">Global functions</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>
<div id="doxywrapper">
<!--
    <div id="global_doxytitle">Doxygen<br>Documentation:</div>
-->
    <div id="navrow_wrapper">
<!-- Generated by Doxygen 1.9.8 -->
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="namespaceshark.html">shark</a></li><li class="navelem"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html">RemoveBudgetMaintenanceStrategy</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="classshark_1_1_remove_budget_maintenance_strategy-members.html">List of all members</a> &#124;
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle"><div class="title">shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt; Class Template Reference</div></div>
</div><!--header-->
<div class="contents">

<p>Budget maintenance strategy that removes a vector.  
 <a href="classshark_1_1_remove_budget_maintenance_strategy.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">shark/Algorithms/Trainers/Budgeted/RemoveBudgetMaintenanceStrategy.h</a>&gt;</code></p>
<div id="dynsection-0" onclick="return toggleVisibility(this)" class="dynheader closed" style="cursor:pointer;">
  <img id="dynsection-0-trigger" src="closed.png" alt="+"/> Inheritance diagram for shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;:</div>
<div id="dynsection-0-summary" class="dynsummary" style="display:block;">
</div>
<div id="dynsection-0-content" class="dyncontent" style="display:none;">
<div class="center"><img src="classshark_1_1_remove_budget_maintenance_strategy__inherit__graph.png" border="0" usemap="#ashark_1_1_remove_budget_maintenance_strategy_3_01_input_type_01_4_inherit__map" alt="Inheritance graph"/></div>
<map name="ashark_1_1_remove_budget_maintenance_strategy_3_01_input_type_01_4_inherit__map" id="ashark_1_1_remove_budget_maintenance_strategy_3_01_input_type_01_4_inherit__map">
<area shape="rect" title="Budget maintenance strategy that removes a vector." alt="" coords="5,94,231,135"/>
<area shape="rect" href="classshark_1_1_abstract_budget_maintenance_strategy.html" title="This is the abstract interface for any budget maintenance strategy." alt="" coords="5,5,231,46"/>
<area shape="poly" title=" " alt="" coords="121,62,121,94,115,94,115,62"/>
</map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:afa4ea66adb4e0114f913bf49e9737804" id="r_afa4ea66adb4e0114f913bf49e9737804"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804">RemoveStrategyFlavor</a> { <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804a33a06748f85038c3e3652ffc18ec07fe">RANDOM</a> = 0
, <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804af408fd53121e41a537ca4280ca96e545">SMALLEST</a> = 1
 }</td></tr>
<tr class="memdesc:afa4ea66adb4e0114f913bf49e9737804"><td class="mdescLeft">&#160;</td><td class="mdescRight">the flavors of the remove strategy  <a href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804">More...</a><br /></td></tr>
<tr class="separator:afa4ea66adb4e0114f913bf49e9737804"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_types_classshark_1_1_abstract_budget_maintenance_strategy"><td colspan="2" onclick="javascript:toggleInherit('pub_types_classshark_1_1_abstract_budget_maintenance_strategy')"><img src="closed.png" alt="-"/>&#160;Public Types inherited from <a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">shark::AbstractBudgetMaintenanceStrategy&lt; InputType &gt;</a></td></tr>
<tr class="memitem:a2fce0a0656e77df1f5e54bea0d3c9f6b inherit pub_types_classshark_1_1_abstract_budget_maintenance_strategy" id="r_a2fce0a0656e77df1f5e54bea0d3c9f6b"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_kernel_expansion.html">KernelExpansion</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#a2fce0a0656e77df1f5e54bea0d3c9f6b">ModelType</a></td></tr>
<tr class="separator:a2fce0a0656e77df1f5e54bea0d3c9f6b inherit pub_types_classshark_1_1_abstract_budget_maintenance_strategy"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7027102ef6150ec0de810886b8098718 inherit pub_types_classshark_1_1_abstract_budget_maintenance_strategy" id="r_a7027102ef6150ec0de810886b8098718"><td class="memItemLeft" align="right" valign="top">typedef <a class="el" href="classshark_1_1_labeled_data.html">LabeledData</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>, unsigned int &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#a7027102ef6150ec0de810886b8098718">DataType</a></td></tr>
<tr class="separator:a7027102ef6150ec0de810886b8098718 inherit pub_types_classshark_1_1_abstract_budget_maintenance_strategy"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e4e18bcc754402146beb894a7c3d7cd inherit pub_types_classshark_1_1_abstract_budget_maintenance_strategy" id="r_a4e4e18bcc754402146beb894a7c3d7cd"><td class="memItemLeft" align="right" valign="top">typedef DataType::element_type&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#a4e4e18bcc754402146beb894a7c3d7cd">ElementType</a></td></tr>
<tr class="separator:a4e4e18bcc754402146beb894a7c3d7cd inherit pub_types_classshark_1_1_abstract_budget_maintenance_strategy"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr class="memitem:a381bddc222d4060c66065b7afa16247b" id="r_a381bddc222d4060c66065b7afa16247b"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#a381bddc222d4060c66065b7afa16247b">RemoveBudgetMaintenanceStrategy</a> (<a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804">RemoveStrategyFlavor</a> flavor=<a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804af408fd53121e41a537ca4280ca96e545">SMALLEST</a>)</td></tr>
<tr class="separator:a381bddc222d4060c66065b7afa16247b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a795f1710e6f333fcf7c7baad2e7bcc54" id="r_a795f1710e6f333fcf7c7baad2e7bcc54"><td class="memItemLeft" align="right" valign="top">virtual void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#a795f1710e6f333fcf7c7baad2e7bcc54">addToModel</a> (<a class="el" href="classshark_1_1_kernel_expansion.html">ModelType</a> &amp;model, <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> const &amp;alpha, ElementType const &amp;supportVector)</td></tr>
<tr class="separator:a795f1710e6f333fcf7c7baad2e7bcc54"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afc3e2aa3bdd4d56064f4063ba5895f78" id="r_afc3e2aa3bdd4d56064f4063ba5895f78"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afc3e2aa3bdd4d56064f4063ba5895f78">name</a> () const</td></tr>
<tr class="memdesc:afc3e2aa3bdd4d56064f4063ba5895f78"><td class="mdescLeft">&#160;</td><td class="mdescRight">class name  <br /></td></tr>
<tr class="separator:afc3e2aa3bdd4d56064f4063ba5895f78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="inherit_header pub_methods_classshark_1_1_abstract_budget_maintenance_strategy"><td colspan="2" onclick="javascript:toggleInherit('pub_methods_classshark_1_1_abstract_budget_maintenance_strategy')"><img src="closed.png" alt="-"/>&#160;Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">shark::AbstractBudgetMaintenanceStrategy&lt; InputType &gt;</a></td></tr>
<tr class="memitem:a2a6d7afdbb1e6dc61f86619dd526a544 inherit pub_methods_classshark_1_1_abstract_budget_maintenance_strategy" id="r_a2a6d7afdbb1e6dc61f86619dd526a544"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#a2a6d7afdbb1e6dc61f86619dd526a544">AbstractBudgetMaintenanceStrategy</a> ()</td></tr>
<tr class="separator:a2a6d7afdbb1e6dc61f86619dd526a544 inherit pub_methods_classshark_1_1_abstract_budget_maintenance_strategy"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa96771736bedb9e44f820e871ed98350 inherit pub_methods_classshark_1_1_abstract_budget_maintenance_strategy" id="r_aa96771736bedb9e44f820e871ed98350"><td class="memItemLeft" align="right" valign="top">std::string&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#aa96771736bedb9e44f820e871ed98350">name</a> () const</td></tr>
<tr class="memdesc:aa96771736bedb9e44f820e871ed98350 inherit pub_methods_classshark_1_1_abstract_budget_maintenance_strategy"><td class="mdescLeft">&#160;</td><td class="mdescRight">return the class name  <br /></td></tr>
<tr class="separator:aa96771736bedb9e44f820e871ed98350 inherit pub_methods_classshark_1_1_abstract_budget_maintenance_strategy"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pro-attribs" name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr class="memitem:ab7a150aeae274478480ba3b58337ba80" id="r_ab7a150aeae274478480ba3b58337ba80"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#ab7a150aeae274478480ba3b58337ba80">m_flavor</a></td></tr>
<tr class="memdesc:ab7a150aeae274478480ba3b58337ba80"><td class="mdescLeft">&#160;</td><td class="mdescRight">flavor for removing a vector  <br /></td></tr>
<tr class="separator:ab7a150aeae274478480ba3b58337ba80"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="inherited" name="inherited"></a>
Additional Inherited Members</h2></td></tr>
<tr class="inherit_header pub_static_methods_classshark_1_1_abstract_budget_maintenance_strategy"><td colspan="2" onclick="javascript:toggleInherit('pub_static_methods_classshark_1_1_abstract_budget_maintenance_strategy')"><img src="closed.png" alt="-"/>&#160;Static Public Member Functions inherited from <a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html">shark::AbstractBudgetMaintenanceStrategy&lt; InputType &gt;</a></td></tr>
<tr class="memitem:ab6ab9d070c0988b041e96e66888a1841 inherit pub_static_methods_classshark_1_1_abstract_budget_maintenance_strategy" id="r_ab6ab9d070c0988b041e96e66888a1841"><td class="memItemLeft" align="right" valign="top">static void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#ab6ab9d070c0988b041e96e66888a1841">findSmallestVector</a> (<a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#a2fce0a0656e77df1f5e54bea0d3c9f6b">ModelType</a> const &amp;model, size_t &amp;minIndex, double &amp;minAlpha)</td></tr>
<tr class="separator:ab6ab9d070c0988b041e96e66888a1841 inherit pub_static_methods_classshark_1_1_abstract_budget_maintenance_strategy"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><div class="compoundTemplParams">template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a>&gt;<br />
class shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;</div><p>Budget maintenance strategy that removes a vector. </p>
<p>This is an budget strategy that simply removes one of the budget vectors. Depending on the flavor, this can be e.g. a random one, the smallest one (w.r.t. to 2-norm of the alphas) </p>

<p class="definition">Definition at line <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html#l00063">63</a> of file <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">RemoveBudgetMaintenanceStrategy.h</a>.</p>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="afa4ea66adb4e0114f913bf49e9737804" name="afa4ea66adb4e0114f913bf49e9737804"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa4ea66adb4e0114f913bf49e9737804">&#9670;&#160;</a></span>RemoveStrategyFlavor</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804">shark::RemoveBudgetMaintenanceStrategy::RemoveStrategyFlavor</a></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the flavors of the remove strategy </p>
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="afa4ea66adb4e0114f913bf49e9737804a33a06748f85038c3e3652ffc18ec07fe" name="afa4ea66adb4e0114f913bf49e9737804a33a06748f85038c3e3652ffc18ec07fe"></a>RANDOM&#160;</td><td class="fielddoc"></td></tr>
<tr><td class="fieldname"><a id="afa4ea66adb4e0114f913bf49e9737804af408fd53121e41a537ca4280ca96e545" name="afa4ea66adb4e0114f913bf49e9737804af408fd53121e41a537ca4280ca96e545"></a>SMALLEST&#160;</td><td class="fielddoc"></td></tr>
</table>

<p class="definition">Definition at line <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html#l00072">72</a> of file <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">RemoveBudgetMaintenanceStrategy.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
<a id="a381bddc222d4060c66065b7afa16247b" name="a381bddc222d4060c66065b7afa16247b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a381bddc222d4060c66065b7afa16247b">&#9670;&#160;</a></span>RemoveBudgetMaintenanceStrategy()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html">shark::RemoveBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::RemoveBudgetMaintenanceStrategy </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804">RemoveStrategyFlavor</a>&#160;</td>
          <td class="paramname"><em>flavor</em> = <code><a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804af408fd53121e41a537ca4280ca96e545">SMALLEST</a></code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>constructor. </p><dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">flavor</td><td>enum that decides on the method a vector is removed. </td></tr>
  </table>
  </dd>
</dl>

<p class="definition">Definition at line <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html#l00077">77</a> of file <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">RemoveBudgetMaintenanceStrategy.h</a>.</p>

<p class="reference">References <a class="el" href="_exception_8h.html#adce1f80097c69010f5eab2618fa2e971">SHARK_RUNTIME_CHECK</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Function Documentation</h2>
<a id="a795f1710e6f333fcf7c7baad2e7bcc54" name="a795f1710e6f333fcf7c7baad2e7bcc54"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a795f1710e6f333fcf7c7baad2e7bcc54">&#9670;&#160;</a></span>addToModel()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">virtual void <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html">shark::RemoveBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::addToModel </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classshark_1_1_kernel_expansion.html">ModelType</a> &amp;&#160;</td>
          <td class="paramname"><em>model</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> const &amp;&#160;</td>
          <td class="paramname"><em>alpha</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ElementType const &amp;&#160;</td>
          <td class="paramname"><em>supportVector</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">virtual</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>add a vector to the model. this will add the given vector to the model and remove another one depending on the flavor.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in,out]</td><td class="paramname">model</td><td>the model the strategy will work with </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">alpha</td><td>alphas for the new budget vector </td></tr>
    <tr><td class="paramdir">[in]</td><td class="paramname">supportVector</td><td>the vector to add to the model by applying the maintenance strategy </td></tr>
  </table>
  </dd>
</dl>

<p>Implements <a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#a763d8224ee45bb2bb727cb05ac002b94">shark::AbstractBudgetMaintenanceStrategy&lt; InputType &gt;</a>.</p>

<p class="definition">Definition at line <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html#l00091">91</a> of file <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">RemoveBudgetMaintenanceStrategy.h</a>.</p>

<p class="reference">References <a class="el" href="classshark_1_1_kernel_expansion.html#a3c65dfd17f38eaa461f6400d302fae48">shark::KernelExpansion&lt; InputType &gt;::alpha()</a>, <a class="el" href="classshark_1_1_kernel_expansion.html#a48c4d31664d347f477cfb305a7b98d61">shark::KernelExpansion&lt; InputType &gt;::basis()</a>, <a class="el" href="namespaceshark_1_1random.html#aa64d4174eaf7111b03e0504eaa56b666">shark::random::discrete()</a>, <a class="el" href="group__shark__globals.html#ga0ea72a74a21d5ff59772516b83c4a58b">shark::Data&lt; Type &gt;::element()</a>, <a class="el" href="classshark_1_1_abstract_budget_maintenance_strategy.html#ab6ab9d070c0988b041e96e66888a1841">shark::AbstractBudgetMaintenanceStrategy&lt; InputType &gt;::findSmallestVector()</a>, <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#ab7a150aeae274478480ba3b58337ba80">shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;::m_flavor</a>, <a class="el" href="group__shark__globals.html#ga814e8b0028cc90dd2af69805e8f8a04d">shark::Data&lt; Type &gt;::numberOfElements()</a>, <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804a33a06748f85038c3e3652ffc18ec07fe">shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;::RANDOM</a>, and <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#afa4ea66adb4e0114f913bf49e9737804af408fd53121e41a537ca4280ca96e545">shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;::SMALLEST</a>.</p>

</div>
</div>
<a id="afc3e2aa3bdd4d56064f4063ba5895f78" name="afc3e2aa3bdd4d56064f4063ba5895f78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afc3e2aa3bdd4d56064f4063ba5895f78">&#9670;&#160;</a></span>name()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">std::string <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html">shark::RemoveBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::name </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>class name </p>

<p class="definition">Definition at line <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html#l00134">134</a> of file <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">RemoveBudgetMaintenanceStrategy.h</a>.</p>

</div>
</div>
<h2 class="groupheader">Member Data Documentation</h2>
<a id="ab7a150aeae274478480ba3b58337ba80" name="ab7a150aeae274478480ba3b58337ba80"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7a150aeae274478480ba3b58337ba80">&#9670;&#160;</a></span>m_flavor</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">size_t <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html">shark::RemoveBudgetMaintenanceStrategy</a>&lt; <a class="el" href="_multi_task_svm_8cpp.html#a0dea9a3a85d327080d9b617903508925">InputType</a> &gt;::m_flavor</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>flavor for removing a vector </p>

<p class="definition">Definition at line <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html#l00139">139</a> of file <a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">RemoveBudgetMaintenanceStrategy.h</a>.</p>

<p class="reference">Referenced by <a class="el" href="classshark_1_1_remove_budget_maintenance_strategy.html#a795f1710e6f333fcf7c7baad2e7bcc54">shark::RemoveBudgetMaintenanceStrategy&lt; InputType &gt;::addToModel()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>include/shark/Algorithms/Trainers/Budgeted/<a class="el" href="_remove_budget_maintenance_strategy_8h_source.html">RemoveBudgetMaintenanceStrategy.h</a></li>
</ul>
</div><!-- contents -->
</div>
</body>
</html>
